Create Control Structures and Functions