add notify method
added FreeMarker template