Added loop to extract all events (delta and event size still hardcoded to 1byte)