working on view templates