tidied up the views