rest part. domain rework