devided files, added header file