adding logging module