preparing for finish