Can this be rewritten to accomodate multiple callback functions or change the name to "attachDelayTask" or something like that.