Preparing commit