further stuff for trajectory visualisation