debugging trajectory