create a helper for navigation