testing - now with variable passed as a paramater