Updating trigger parser + adding cmp ratio methods