function adjustments