made locations a linked list