check type of second argument in arithemetic