Added send function for serial