adding logging possibility