corrected return values