Deleted unused debug code