adding views
reverting back to working version