added several level constants, removed unused imports