add handlers for trigger and input
0.0.14