optimizations + thesis work (method)