debug code removed