added states to device class