const'ing new function