smooth out some stuff