started on optimization framework (test)