Bug fix: descrease the key value from 0.9 to 0.7; rotate variable x, not y;