though complicatedinvolving multiple phases and elaborate preparations for each phasethere it was the very moment he woke up , all worked out in his head , glinting in the darkness behind his eyelids like a metallic , freshly-oiled , spring-driven device .