initial code with foundation and add-ons