works with npm, correct cancel fn name