added logger method