added media
added xml
removed temp int