Bug Fix: adding the foundation to the document