some preliminary work on avatarRenderer