changed to annotations. wrote component grid code