debug code

debug error and comment out everything but the collect