added debug code for info command