rename to 'autosend' and comment funtion