levels refactored