updated for chunk data