testing function is running