added sample class for main