Example demonstrating private and protected vars