now sends messages properly