rewrite2: avatar working. need to revisit avatar:avater, make sure I got everything