Playing with some conditional optimizations