changed the yielding process