working on his inventions