clean up svg; add restricted; fix b, c, and d