Changed back to for statement