added code for simple-navigation