added more methods to the new class that build equivalence classes blocks