working version for 'UP' processor scheduler