made internal methods exportable