preliminaries
merged