add const to retrive
add const to processor