added view helper and router