Trying to Merge Functions