adjust hump function