Added createArgs func