use cur and max level