added in additional code for height adjustments