currently setting up function wrappers.