Made the callback optional