add and configure Guard