make a template like this case