added guard
added guard