removing the displayValue function call because I already call it in another function