removed debugging, unused code.