change vectors to lists