removed useless send function