defining the screen class