o add a simplistic optimizer