add some handlers and functions