cleaning up the views