remove debugprints and unneeded import