for in loops, converting datatypes