reordered some methods
added chunk methods