make necessary adjustments