addition funkctionality for sample class