added more debugging. cleaned up commented lines