return before if