message sending works locally