update to new class create syntax