a great change !!! finally add template!