Sample 3 fix

This should fix issue #10.