Improved implementation method.