tyring to get View::factory to work