added some stuff to loop command's output