Preparing to recording data.