preparing media route