added @export to functions so namespace would be updated properly and functions would be available to the user when the package is loaded