add const keywords for security