changed same function's sinature
test code and real code