checking sentences