merge h to cpp