Getting correct output, still shows not working. What to do?