added print trigger