trajectory parser now is in C