edited notes, added precedence example