alternative way of initializing runqueue