timing in send

added timing in send function