change template and add salt