removed some testing/debug code