* Error out if the requested index is out-of-bound * Tidy-up all the arg-related variables in a struct