added const keyword for getters