transferred DebugMessage function to MyLib(coming soon)