Preparing the machine