beta with objects and classes