part of initialize media retrieval