creating adapter globals