adding templates foundation