Changing generator algorithm to correctly haandle cases when busy is not None