Optimized code... for a bit