Almost properly working enqueuing alg...