removed some debug printlns