add function signature for schedule() function