set property and functions