made new change function