Added answer for templates