Need to change xsub so that it only takes one argument.
