this should be application.handle_message