Adjusting the tramline rhythm