firefly: the train job