example for mpd control