tidied up some extraneous elements