Added new argument 'args' to functions