added a function to DScreenHandler