Added While and For loops