added stub of state simplifying function