debug code eliminated