smooth in vars