added new osTwolep function