added logger to scan model