Added if command