completed some todos
explicit define precedence of media elements