add state to hacky output