added guard

added guard