create class which allows to test and display