can you change that in the header as well to a const function