changed default text of resultDisplay to 0