Init sample class