moved listening message to server