these if and else statements shall be added to the if above