added choose template view