add function of member in hpp