Fixed typo and added some code to fiddle