added media stuff