adding logging to one method