typo fix, add beginnings of avatar code