new strcuture for scheduler