added Logger class