framework optimization