write specs for embedded collection