added  output to debug displayed