finish analysis