corrected return to match documentation