domin model and some tests