path object todo auto gener method stub implement except 