Then he sat on the edge of the bed to think.
He sat on the bed to think.