successfully compiled AP side logic