Switch vectors to lists