SetProperty method added