implemented level change routine