added some missing functions of mac