maxlimit method