preparing the system