added passing the actual object along with the callback