add the check of argument dimensions