implemented fetch routine