Salt grabbing wrapper function