code cleaning: definig explicit types
code cleaning: header file