added getters and setters for public use