removed test, added state