displaying the correct info