level_up formula corrected