added Level class