added traces and print statements