Added getter for state