Adding partial data function