Created function for argument. Untested.