started separating views into templates