use itterate instead of for in