create a new class to replace the old class