Implementing a few templates