removed some trace prints