set state object handl object element todo auto gener method stub implement except 