Format and add argument to function