Adding foundation codes [#47605693]