work on optimization algorithms