changed smooth for speed