Added two getter and setter methods