fixed bug with local list counting
fixed schedule
better testing