add experimental alignment code