changing x smooth