Preparing context solution