for loops have working  and