optimize joel's avatar