made fields 'protected' so subclasses can use them
Merge pull request #322 from The-Alchemist/master

made fields 'protected' so subclasses can use them