tidied up demo, fixed example slug generator