Implemented level switching and 5 levels.