First version of smo