add guard code