changed class to public