added first version ofchunkloader