smart grammar