change the list to global list