then he removed his hat , took a small scrap of paper from the lining , read it , moved his lips a few times as he said the words to himself , and then replaced the hat on his sweating forehead and took the baby again .