converted to use slf4j