added state changes