Preparing the baseline code