moving the list function to use source=