print out selected value