using log4j now for logging