dyn_consume now works correctly