type definition for line search function is not used anymore