fixed private method misunderstanding