new proposition for dynamic get and set