removed xport function