added factory for can view helper