Preparing for the session