UPDATE: President Obama has reached out to Ahmed on Twitter and invited him and his clock to the White House. 

(NEWSER) – Ahmed Mohamed says it took him only 20 minutes to build the homemade clock: he wired a circuit board and power supply to a digital display and stuffed the device into a pencil case before bed on Sunday.

The next day, the 14-year-old freshman at MacArthur High School in Irving, Texas—a member of his middle school robotics club who makes radios and repairs his own go-kart—showed his creation to his engineering teacher, hoping to impress him, per the Dallas Morning News. "He was like, 'That's really nice,'" but said not to show the clock to other teachers, Ahmed says. When it beeped during another lesson, however, Ahmed revealed his invention to a teacher, who told him it looked like a bomb. Soon, Ahmed tells NBC Dallas police officers arrived, questioned him, then cuffed him and led him to police headquarters for fingerprints, mugshots, and an interrogation.

Read the full story on Newser.com