Changed scheduler to implement list.