work on activity callbacks.