example to suit new class structure