add template and new http