updated fetch method