DAT-2374 add features to api

Are vars by reference necessary?