added output statements for mpd