Added tender change function

Having difficulty locating syntax error