created getters and setters for health