A SCOTS mum has just had her first novel published – after writing it on her Blackberry on the train to work.

Trainee teacher Sharon Baillie, 38, wrote Magenta Opium over six months while commuting from her home in Stewarton, Ayrshire, to Glasgow.

She said: “Everyone else on the train was reading books. I just thought I could spend my time in a more valuable way.”

Magenta Opium tells the story of a young scientist who discovers a new wonder drug, while caught up in “a world of drugs, a dead body, kidnapping, piracy, extreme tattooing and legends, not to mention the Devil himself”.

It’s been published as an ebook by US company New Libri and is available on Amazon and Barnes and Noble.

Mum-of-two Sharon, who has a chemistry PhD, said: “It’s very exciting. My husband, the kids and my mum are all very proud.”