implemented sending/sent callbacks