exported mkArgs for using it outside