Updated to use Vector instead of List.