the minus sign on a is wrong!!!