added logger statement for debugging