res fiddling/optimization. more to come!