added foundation and template