reverted change function