change data calculating method