changed restaurant datastructure to list