using the condition statement