Add media Function added