this function was not used, did nothing
add some const