adding templates and model notifications