add state to item