changed proc for handling 0 tasks + idle