Improving flexibility of left? method