Fuction def typo in adjustLevel.