Added string to console printout

Added variable within function