updated example class