add const cast