preparing for using fetch command