renaming method to generate getter/setters