Adding the work on the segeueus and nav controller