add const attribute