first version of liferecorder for trains_helper