tidied up example file