arithmetic functions now take arbitrary numbers of arguments