make const where possible