end of palo a implementation