snippet with node track, preparation to save in file