AIPO finals code