task() was throwinng a TypeError because it wasn't allowing args