beginnings of chunk functionality