made send_message work