maybe cleaner to write `X, = check_arrays(...)`