Updated send() method