cleared up views generator