object creat stub state todo auto gener method stub implement except 