Added forloops