Added some methods to state