GNR-4 - optimized code with abstact code