added ability to easily add handlers