removed debugging print for hist