Just several stuff that need to use in cpp