creating a if statement