added header parts and commented history part