Updated send() call to fit new version