global state
typo, ids