modify templates and add moon4