added views, changes to pritory