inferring type from schema and using with arg

Original message was deleted