Changed vectors to sets where necessary