store score --> move outside switch to avoid redundant code