retrieve items from db when loaded