demo: renamed function to removeCandy