new class for X displaing... seems works but not realy tested