Change initialized variable result  to null