Moved schedulers in an own method