handled checking the callback