added const flag