abstracted out stuff to work for batter or pitcher