cleaned up some code left over from debugging