added state methods for Room