Sofia's  conditional statement