streamline conditional return