add guard
Merge pull request #5 from jgpawletko/chore/add-guard

add guard