change input processing to match new units and resources