added variable number of arguments to functions