adds basic for loop