added template and styles