tidied up examples