analysis almost complete