getter and setter methods.