added template, almost complete view