finished views in pams tutorial
ready for deployment