passing in types to yml