completed inversion problem