change three print function to just return the string want to print