added fetchData directive