adding guard
Merge pull request #4 from foxio/guard

adding guard