Fix for use of priorityqueue
Added reduce
Fix for scheduler in range
Added defer