forgot two callback definitions