if takes multiple conditions