working fetch method