removed spaces before and after control structs
moved iteration to view