Added send function