creation of the displaying class