add guard
Merge pull request #5 from masarakki/guard

add guard