change scheduled parameter to int