added state to emulated device