re-formatted the view pages