add chunk method