first attempt at maxzoom refactor