rafactoring, use python setter properties