Working with error handling. Navigation is currently broken.