change private to protected for 2 functions and clean up space at end of...

... lines