add whenFetched method