removed entityName var from returned view