playing with control structures