changed the naming of setters and added an getter/setter for code