-add: callback in queue function