added debug message loading