send data to the controller basically