Made endote a txt as well