Added functions of header and implementation files