indentation and BFGS template added