flow mapping is not closed by }