changed setter to use property