moved sample class