new api scheduler and kirc functions