added view helper and escaping output