added specs and code for the avatar adapter