refactored and added more level progression
merged