1 phase of inserting cuda into the fibernavigator