first part of the conf preparation