object build pseudo state object composit state todo auto gener method stub implement except 