Added control structures