precisely how he meant to accomplish this was not yet quite clear to him , but in the circumstances , he found his visit with captain bates at newgate returning repeatedly to his mind-and in those memories , began to perceive the glimmerings of an idea .