write specs for vid and category models