slight fixes and commenting