return guard instead of more indentation