changed to before and after set/get