full implementation of chunk finder

untested. will pull req then sleep