Drawing a box on the monitor