sending schedule to controller