implement media command