add send method for array type of data