added logger but waiting for MODID to fix error