dynamically populate nav for refactoring patterns