added stubs form mac