Fixed the triggers, now using procs and a hash to find and call methods