moved nav1 and nav2 in separate files