added fetch func