added get state