trying to send messages to client