create connect_to_next function in NextControl, use it in Stage