removing debugging prints