tidied up some closing tags throughout