removed varous debug prints