making example work if copied & pasted