mark some pointers as const