added logging levels