refactored and created loader for list items