added function declaration into header file.