new code editor. works for creating for loop