add const keyword where neccessary