removed 'testing' variable at the end