put template in .h