removing not required debug printfs