Work on chunk stuff - incomplete
Ugly hack and code - but it works