Preparation for the session