Added code from class. Navigation Demo.