first part of fetching