solved type ahead