Seems global state, worked so-so