removed unnecessary code not being used in getStateNumber method