Add Observer Template Code