Version that shows the output, with numbers in brackets - debug version