working on bILC trajectory version