removed dependency on next[out]