setting getters to const