added guard sample