updated for linux + dual call