added types 4, 5 & 9