added trace, removed printline