* Added trace messages for debugging.