wrong output displayed. :(