changed from vector to list reducing run time drastically