added state, only works with test version though!