add base guard helper