Added private and public to class definition