methods part 2, optimization fig