printfs removed finally