added setter code