Implementing using templates through views