Would be good to strip this code out if we're not going to use any avatar