set up real handling events