Adjust function added