gmc:uploading the optimized version method2