adding trajectory variable metadata