object creat action state todo auto gener method stub implement except 