Channging from Repa to Vector