realized trajectory check, not fully working yet