add method write property