some minor editing