Add state.level everywhere