fetches items from db