debug code for single note