Moved function export to proper position