Added the ability to have a callback as an offset