fixed some misunderstandings