Instance should be outside condition
Merge pull request #1 from ugupta/master

Instance should be outside condition