moved the OS dependent call to OSHelper