add getter and setter to $options