gui part with the scheduling