added basic for loops