2a should divide double not int