adding data and nav