testing function passing