added the height parameter for changes