avatar working, pre including api