use classes to show the code