usually a building is built on a foundation, rather than a foundation being added after the church is built. What church do you think Jesus refers to here, and what is the foundation:
Matthew 16:18 KJV — And I say also unto thee, That thou art Peter, and upon this rock I will build my church...