even more optimizations, because i can.