cleanup rate in sample class