completed list function.