python callback finally working!