adding control statements