organized function declaration in an header file