added instance template