added logical control statements for future work