appending first and second and printing it to ensure the value is correct