created list item functionality