working on control structures