create loadItems method