basic trajectory added 
bug fixes