cleaning up function exports