define platform-specific calls