attempt at using in loops