added logging with slf4j