Usage of getters and setters added