Added Comments and Trace output