optimized all the things