more attempts on scheduler integration