add script to demonstrate access control in classes