making trigger function protected

Signed-off-by: RJ garcia <rj@bighead.net>