most of tonic and dominant rules coded