set everything up, just need caseys part and to compare state with stat