adding logging framework