add the finish codes