added currentState method