mucking around with optimizations