removed old files
changed in and output, changed do_send with send