meant for handling some OS dependent calls