Develop function to gest a list