Write about nets; fix example reg code