moved delay to send()