adding functions to the export instead of the object seems like a cleaner syntax