Making vars private rather than protected