implemented log levels