Generate a correctly punctuated version of the following text: 17 But he beckoning to them with his hand to be silent declared to them how the Lord had brought him out of the prison He said Tell these things to James and to the brothers Then he departed and went to another place
17 But he, beckoning to them with his hand to be silent, declared to them how the Lord had brought him out of the prison. He said, "Tell these things to James, and to the brothers." Then he departed, and went to another place.