trying a loop