Added templates and working code