adding media and dep