consider creating a string and passing it to both functions.