chnaged movement correction function to x³