adding pop function to list