got callbacks working through sendmessage