refactoring line search