added clearing exmaple
upaded clear to use at to access typebuffer map.