added const to mag member methods