added sending to controller