implement view routing