sample class fix