add functionality to second.txt