Fix for 10.7 - closes issue #2
fix for unintentional formatting changes
Merge pull request #3 from dangelov/master

Fix for 10.7 and issue #2 - this code now seamlessly works on 10.7 and 10.8 without any extra changes