tried if else statements