SOMERSET — William Baga said that he thought it would be nice to write a book for his daughter, and in "Camilla of Grayville," he also addresses a topic that relates to children in general.

The book gets into the overuse of technology. Baga said that in the beginning of the book, all of the pictures are in black and white as all of the people, and a dog, are walking around in a town in the middle of mountains with cell phones and all they do is play on their phones. When each person puts down a cell phone in the story, their picture appears in color, which Baga said is done for artistic expression.

"It seems like you easily get addicted to it. It's always at your grasp," Baga said. "I thought we should talk to kids about this because it's a new dilemma for the 21st Century."

Camilla is the name of Baga's daughter.

Baga taught seventh grade mathematics for 12 years in the Boston Public Schools. He said it used to be rare for children in schools to have cell phones, but now almost everyone has them.

Baga said he is not anti-technology, but said he believes there should be a balance between the time when children are using technology and when they are not. He said there should not be more leisure time spent on screens than the time spent on leisure not using screens, such as toys or reading books. He said a pediatrician considers television to be screen time.

"It's because it's at our fingertips," Baga said of why cell phones are overused. "We're naturally curious people, so when you have something at your fingertips that will give you the answer, you want to use it. It becomes an addiction."

Baga said people think technology equals advancement in children, but he said that is not true if they are using the technology so much for social media, instead of for more productive purposes, such as a math site he talked about where visualization is used to help with math skills.

"There are some great ones out there," Baga said of apps.

Baga said his daughter has an Amazon kids' tablet and he puts apps on it that are more educational than others. He said parents have to sift, review and decide what apps their children should be using.

"Camilla of Grayville" is the first book that Baga has written. He said he just finished writing a science fiction book for adults.

The cost to print Baga's book was paid for by a business called Miracle of Motherhood in Newport, Rhode Island. The owner of the business is a friend of Baga's wife. Baga said the store wanted a children's book and after reading "Camilla of Grayville," chose that book to sell at the store.

Baga and his wife Melanie live with their 3-year-old daughter Camilla in Somerset. The character in the book is based on their daughter, but is five or six years old. Three characters in the book, named Ted, Larry and Tom, help out Camilla. Baga said he used those names because his grandfather was a big fan of Ted Williams, his father was a big fan of Larry Bird and he is a big fan of Tom Brady.

Mr. Baga said that he and his wife read to their daughter every night and the topic of overuse of technology is in that rotation.

"I think the book is a good conversation point for parents to introduce this topic to kids," Mr. Baga said.

Mr. Baga now works as an investment consultant, doing freelance work on clients' portfolios and also has some real estate that keeps him busy.

"Camilla of Grayville" can be purchased on miracleofmotherhood.com and there is a digital version that can be bought on Amazon. Baga said libraries can order the book from Ingram Book Catalog. Based on the topics and grammar in the book, Baga said it can be for ages three years old to 10 or 11 years old.

He has also made a lesson plan to go with the book that he said some of his friends who are teachers have used. The lesson plan is free and can be used on a projector.