added level and refactored styling