adding listItem function to 2