adding listItem function to 3