properly export functions