refactor function determineProducer in module trans, remove argument new_args because it is always []