finished section 4.4 added media dir