set guard object handl object guard todo auto gener method stub implement except 