Implemented trigger and hold modes.