Adding output message to print