implement get and set and config