switched to vector