he served as assistant professor of natural philosophy in the university of aberdeen, 1880-1881, and lectured in applied mathematics and steam at the mechanics institute, aberdeen, 1880-1882, graduating bachelor of science of the university of edinburgh in 1881.