hidden inside this was a device that hilly had invented , using the batteries david had seen in his room and the guts of an old texas instruments calculator that he had stolen ( with no compunction at all ) from the bottom of his mother 's desk in the front hall .