added horizontal ai blocking