renamed setProperties